package com.example.service.impl;

import com.example.model.auto.CommentAccount;
import com.example.model.auto.CommentInfo;
import com.example.mapper.auto.CommentInfoMapper;
import com.example.model.auto.UserCommentIAccount;
import com.example.service.ICommentInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 评论信息表 服务实现类
 * </p>
 *
 * @author 姚帅
 * @since 2023-02-19
 */
@Service
public class CommentInfoServiceImpl extends ServiceImpl<CommentInfoMapper, CommentInfo> implements ICommentInfoService {

    @Resource
    private CommentInfoMapper commentInfoMapper;

    @Override
    public List<CommentAccount> SelectComById(int id) {
        return commentInfoMapper.SelectComById(id);
    }

    @Override
    public List<UserCommentIAccount> FdComById(int id) {
        return commentInfoMapper.FdComById(id);
    }


}
